home *** CD-ROM | disk | FTP | other *** search
/ ftp.mactech.com 2010 / ftp.mactech.com.tar / ftp.mactech.com / machack / Hacks97 / WarriorsProgress.sit / Warrior’s Progress / source code / Source / Libraries / Keyboard / Keyboard Protocols / Undoing.h < prev    next >
Text File  |  1997-06-28  |  307b  |  23 lines

  1. // Undoing.h
  2.  
  3. #ifndef Undoing_h
  4. #define Undoing_h
  5.  
  6. #ifndef ContextUser_h
  7. #include "ContextUser.h"
  8. #endif
  9.  
  10. class Undoing: public ContextUser
  11.   {
  12.     public:
  13.         void UndoOrRedo();
  14.         
  15.         virtual bool CanUndo() = 0;
  16.         virtual void Undo() = 0;
  17.         
  18.         virtual bool CanRedo() = 0;
  19.         virtual void Redo() = 0;
  20.   };
  21.  
  22. #endif
  23.